<div id="<?php print $tab_id?>">
	<ul>
		<?php foreach ($tabs_title as $k=>$v):?>
		<?php if( is_array($v)&&!empty($v['options']) && $v['options']['skip-subfix'] ): ?>
		<li><a href="<?php print($k)?>"><?php print $v['value']?></a></li>
		<?php else: ?>
		<li><a href="<?php print($k.($subfix?$subfix:''))?>"><?php print $v?></a></li>
		<?php endif;?>
		<?php endforeach;?>
	</ul>
	<?php foreach ($tabs_content as $k=>$v):?>
	<div id="<?php print($k.($subfix?$subfix:''))?>"><?php print $v?></div>
	<?php endforeach;?>
</div>
<script type="text/javascript">
	$(function() {
		$("#<?php print $tab_id?>").tabs();
	});
</script>
